package com.chengh.nami.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chengh.nami.common.domain.pojo.SysMenu;

import java.util.List;

/**
 * 菜单Mapper
 *
 * @author chengh
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    List<SysMenu> getMenuByUserId(Long userId);

    List<SysMenu> getMenuByRoleId(Long roleId);
}
